import App from './App.vue'
var Vue = require("vue")
var VueRouter = require("vue-router")
import Clipboard from 'clipboard';
import './index.css'

import page1 from './components/pages/1_total.vue';
import page2 from './components/pages/2_new.vue';
import page3 from './components/pages/3_kubenetes.vue';
import page4 from './components/pages/4_log.vue';
import page5 from './components/pages/5_setting.vue';

const routes = [
    { path: '/', component: page1 },
    { path: '/total', component: page1 },
    { path: '/new', component: page2 },
    { path: '/k8s', component: page3 },
    { path: '/log', component: page4 },
    { path: '/setting', component: page5 },
]

const router = VueRouter.createRouter({
    history: VueRouter.createWebHistory(),
    routes,
})

const app = Vue.createApp(App)
app.use(router)
app.mount('#app')
